# Copyright (c) 2009 by Alex Leone <acleone ~at~ gmail.com>
#
# This file is part of epp.
#
# epp is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# epp is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with epp.  If not, see <http://www.gnu.org/licenses/>.

EPPMAIN = ../../eppbuilddir.py
INPUT_DIR = src
OUTPUT_DIR = built

.PHONY: all clean

all:
	python $(EPPMAIN) --output-dir=$(OUTPUT_DIR) $(INPUT_DIR)

clean:
	rm -rf $(OUTPUT_DIR)
	rm -f $(INPUT_DIR)/epp_modtimes.pkl
	find -name "dark_*.html.epp" -delete
